package com.wafersystems.springbootdemo;

import com.pig4cloud.pigx.common.security.annotation.EnablePigxFeignClients;
import com.pig4cloud.pigx.common.security.annotation.EnablePigxResourceServer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * SpringBoot启动类
 * @author tandk
 */
@SpringCloudApplication
@EnableScheduling
@EnablePigxFeignClients
@EnablePigxResourceServer
@ServletComponentScan(basePackages = {"com.wafersystems.springbootdemo.config", "com.wafersystems.springbootdemo.filter"})
public class DemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(DemoApplication.class, args);
    }
}
